@import '../../style/style.scss';
@import '../../style/base.scss';

$phone-width: 320;
$phone-height: 480;
$phone-header-height: 50;
$phone-footer-height: 30;

.realperview-container {
  margin: 0 auto;
  margin-top: 20px;
  position: relative;
  display: flex;
  max-width: 1080px;
  .phone-container {
    width: $phone-width + 10 + px;
    & > .header {
      height: $phone-header-height + px;
      border-top-left-radius: $phone-header-height + px;
      border-top-right-radius: $phone-header-height + px;
      background-color: #e0e0e0;
    }
    & > .content {
      height: $phone-height + px;
      position: relative;
      border-left: 5px solid #e0e0e0;
      border-right: 5px solid #e0e0e0;
      
      .ant-carousel .slick-slide {
        text-align: center;
        height: 160px;
        line-height: 160px;
        background: #364d79;
        overflow: hidden;
      }

      .music-container {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        z-index: 100;
        background: url('//www.lzuntalented.cn/img/music.svg') no-repeat;
        background-size: contain;
        animation: rotating 1.2s linear infinite;
      }
    }
    & > .footer {
      height: $phone-footer-height + px;
      border-bottom-left-radius: $phone-footer-height + px;
      border-bottom-right-radius: $phone-footer-height + px;
      background-color: #e0e0e0;
    }
  }
  .toggle-page {
    margin-left: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .eq {
    margin-left: 48px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;

    .img {
      margin-bottom: 12px;
    }
  }
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}